﻿<?xml version="1.0" encoding="utf-8"?><Articles><Article><ArticlesID>843</ArticlesID><Title>Failed to execute request because the App-Domain could not be created. Error: 0x80131902</Title><Body>&amp;lt;div id=&amp;quot;excerpt&amp;quot;&amp;gt;Lỗi n&amp;amp;agrave;y gặp phải khi lần đầu ti&amp;amp;ecirc;n chạy IIS. Kh&amp;amp;ocirc;ng hiểu  tại sao nhưng tất cả c&amp;amp;aacute;c m&amp;amp;aacute;y m&amp;amp;igrave;nh đ&amp;amp;atilde; sử dụng lần đầu ti&amp;amp;ecirc;n chạy đều bị  lỗi n&amp;amp;agrave;y. &amp;lt;br /&amp;gt;
Failed to execute request because the App-Domain could not be  created. Error: 0x80131902 &amp;lt;br /&amp;gt;
Lỗi n&amp;amp;agrave;y cần c&amp;amp;agrave;i lại aspnet_regiis.exe để fix lại.&amp;lt;/div&amp;gt;
&amp;lt;div&amp;gt;&amp;lt;br /&amp;gt;
C&amp;amp;aacute;c bước tiến để fix lỗi n&amp;amp;agrave;y như sau: &amp;lt;br /&amp;gt;
- Run&amp;amp;gt;cmd &amp;lt;br /&amp;gt;
- Di chuyển đến thư mục c&amp;amp;oacute; version .net mới nhất. VD: C:\  WINDOWS\Microsoft.NET\Frameword\v2.0.50727  &amp;lt;br /&amp;gt;
&amp;lt;br /&amp;gt;
&amp;lt;span class=&amp;quot;imgcenter&amp;quot;&amp;gt;&amp;lt;img width=&amp;quot;450&amp;quot; height=&amp;quot;223&amp;quot; alt=&amp;quot;Failed to execute request because the App-Domain could not be created. Error: 0x80131902&amp;quot; src=&amp;quot;http://dev.meotom.net/Uploads/admin/2010/3/17/failed-to-execute-request-because-the-app-domain-could-not-be-created-error-0x_1.JPG&amp;quot; /&amp;gt;&amp;lt;/span&amp;gt;   &amp;lt;br /&amp;gt;
&amp;lt;br /&amp;gt;
- Tắt services w3svc: net stop w3svc &amp;lt;br /&amp;gt;
- Gỡ aspnet_regiis: aspnet_regiis.exe -ua &amp;lt;br /&amp;gt;
- C&amp;amp;agrave;i lại aspnet_regiis: aspnet_regiis.exe -i &amp;lt;br /&amp;gt;
- Khởi động lại services w3svc: net start w3svc&amp;lt;/div&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;img width=&amp;quot;450&amp;quot; height=&amp;quot;223&amp;quot; alt=&amp;quot;Failed to execute request because the App-Domain could not be created. Error: 0x80131902&amp;quot; src=&amp;quot;http://dev.meotom.net/Uploads/admin/2010/3/17/failed-to-execute-request-because-the-app-domain-could-not-be-created-error-0x_2.JPG&amp;quot; /&amp;gt;&amp;lt;/p&amp;gt;</Body><CommentEnabled>True</CommentEnabled><ViewCount>0</ViewCount><ReleaseDate>3/17/2010 1:15:27 AM</ReleaseDate><TotalComment>0</TotalComment><IsMedia>False</IsMedia><IsPicture>False</IsPicture><IsVote>True</IsVote><ArticlePassword /><PostVisible>0</PostVisible><ArticlePath>/2010/3/17/Failed-execute-request-App-Domain-created-Error-0x80131902-34B</ArticlePath><Approved>True</Approved><ImagePath /><CategoryId>26</CategoryId><ArrayCatID>26|25</ArrayCatID></Article></Articles>